package com.qf.cs2203Spring07.aop.anno;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Retention(RUNTIME)
@Target(METHOD)
public @interface Retry {
    Class CLASS() default RuntimeException.class;
    int RetryNum() default 10;
}
